﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuiLian.BigData.Hdl.HttpModel
{
    /// <summary>
    /// 获取各点位的历史数据响应
    /// </summary>
    public class HdlScadaSensorHistoryResponse: HdlScadaResponseResult
    {
        public List<HdlScadaSensorHistoryResponseData> Response {  get; set; }
    }

    public class HdlScadaSensorHistoryResponseData
    {
        /// <summary>
        /// 传感器编码
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 数据采集时间戳，秒
        /// </summary>
        public long time { get; set; }

        /// <summary>
        /// 数据值
        /// </summary>
        public double value { get; set; }
    }
}
